#ifndef __WEBPAGE_SEARCHER_HH__
#define __WEBPAGE_SEARCHER_HH__
#include "../Reactor/TcpConnection.h"
#include <string>

using std::string;

class WebPageSearcher
{
    using TcpConnectionPtr = shared_ptr<TcpConnection>;
public:
    WebPageSearcher(string keys, const TcpConnectionPtr conn);
    void doQuery();

private:
    string _sought;
    TcpConnectionPtr _conn;
};



#endif